package com.alks.function.service.web.pay;


import com.alks.entity.data.entity.ExportPlanInfo;
import com.alks.entity.data.entity.SdCompany;
import com.alks.entity.data.entity.webPay.FinancePayable;
import com.alks.entity.data.entity.webPay.FinanceReceivable;
import com.alks.entity.data.response.ResponseInfo;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

public interface PcPayService {

    ResponseInfo receivableList(FinanceReceivable req);

    ResponseInfo selectArDetailList(FinanceReceivable req);

    ResponseInfo addDetail(List<FinanceReceivable> req);

    ResponseInfo deleteDetail(FinanceReceivable req);

    ResponseInfo infoList(ExportPlanInfo exportPlanInfo);

    ResponseInfo cfm(String receiptNo, String cfmFlag);

    ResponseInfo updateRemark(String receiptNo, String remark);

    ResponseInfo tempDetailList(FinanceReceivable req);

    ResponseInfo addTempDetail(List<FinanceReceivable> req);

    ResponseInfo selectTempDeleteList(FinanceReceivable req);

    int deleteTempByReceiptNo(FinanceReceivable req);

    SdCompany getCompanyById(String hf);

    List<FinanceReceivable> selectPrintDataByPayNo(FinanceReceivable financeReceivable);

    ResponseInfo receivableAoaList(FinancePayable financePayable);

    ResponseInfo updateAoaDate(String aoaDate, List<FinancePayable> records);

    ResponseInfo updateAoaCfmN(List<FinancePayable> records);

    ResponseInfo updateAoaCfmY(List<FinancePayable> records);

    ResponseInfo payableList(FinancePayable financePayable);

    ResponseInfo payableDetailList(FinancePayable financePayable);

    ResponseInfo addDetail1(List<FinancePayable> financePayable);

    ResponseInfo deleteDetail1(FinancePayable financePayable);

    ResponseInfo updateCfmFlag(String payNo, String cfmFlag);

    ResponseInfo updateRemark1(String payNo, String remark);

    ResponseInfo updateAoaQtyY(List<FinancePayable> records);

    ResponseInfo updateAoaQtyN(List<FinancePayable> records);

    void downloadAoa(HttpServletResponse response, FinancePayable financePayable) throws IOException;

    void downloadPayable(HttpServletResponse response, FinancePayable financePayable) throws IOException;

}
